Skip to content

Conversation

@FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Dec 11, 2024

With the CONFIG_BT_STM32WBA, the stm32wba_fm flash driver is compiled and must have flash_stm32_sem_take/give functions from the flash_stm32.h header file, like other stm32 series.

Following the PR #76640 and commit ff0f1e5, the flash_stm32_sem_take() _flash_stm32_sem_take() are now in the drivers/flash/flash_stm32.h

This PR will avoid error when building samples/bluetooth/peripheral/ for example on nucleo_wba55cg target
Since the CONFIG_BT_STM32WBA is defined, the flash_stm32wba_fm.c is used for the stm32 flash driver
failing with a redefinition of _flash_stm32_sem_take() _flash_stm32_sem_give() functions

When the CONFIG_BT_STM32WBA the stm32wba_fm flash driver is compiled
and must takes flash_stm32_sem_take/give functions from the
flash_stm32.h header file, like other stm32 series.

Signed-off-by: Francois Ramu <[email protected]>
@de-nordic de-nordic added this to the v4.1.0 milestone Dec 17, 2024
@fabiobaltieri fabiobaltieri merged commit 424c187 into zephyrproject-rtos:main Dec 17, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants